package com.example.exercise.app.feedback.dto.request;

import com.example.exercise.core.base.dto.Pojo;
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

//@ApiModel
public class AppFeedbackRequest extends Pojo {
//	@ApiModelProperty(value = "用户id",required = true,example = "1")
	private Integer userId;
//	@ApiModelProperty(value = "用户名",required = true,example = "xiaoming")
	private String userName;
//	@ApiModelProperty(value = "手机号",required = true,example = "18312345678")
	private String mobile;
//	@ApiModelProperty(value = "app版本",example = "3.2.5")
	private String appVersion;
//	@ApiModelProperty(value = "反馈内容",example = "没事找事")
	private String content;
//	@ApiModelProperty(value = "网络状态", example = "2G")
	private String onlineState;
//	@ApiModelProperty(value = "手机型号", example = "OPPO")
	private String osType;
//	@ApiModelProperty(value = "系统版本", example = "Y3")
	private String sysVersion;
//	@ApiModelProperty(value = "回复次数", example = "0")
	private Integer replyCount;
//	@ApiModelProperty(value = "创建时间", example = "23443543645609985")
	private Timestamp createTime;
//	@ApiModelProperty(value = "当前第几页", example = "1")
	private Integer currentPage;
//	@ApiModelProperty(value = "每页显示多少条", example = "20")
	private Integer pageSize;
	private Integer begin;

	public Integer getBegin() {
		return begin = (this.getCurrentPage() - 1) * this.pageSize;
	}
	public void setBegin(Integer begin) {
		this.begin = begin;
	}
	public Integer getUserId(){
		return userId;
	}
	public void setUserId(Integer userId){
		this.userId = userId;
	}
	public String getUserName(){
		return userName;
	}
	public void setUserName(String userName){
		this.userName = userName;
	}
	public String getMobile(){
		return mobile;
	}
	public void setMobile(String mobile){
		this.mobile = mobile;
	}
	public String getAppVersion(){
		return appVersion;
	}
	public void setAppVersion(String appVersion){
		this.appVersion = appVersion;
	}
	public String getContent(){
		return content;
	}
	public void setContent(String content){
		this.content = content;
	}
	public String getOnlineState(){
		return onlineState;
	}
	public void setOnlineState(String onlineState){
		this.onlineState = onlineState;
	}
	public String getOsType(){
		return osType;
	}
	public void setOsType(String osType){
		this.osType = osType;
	}
	public String getSysVersion(){
		return sysVersion;
	}
	public void setSysVersion(String sysVersion){
		this.sysVersion = sysVersion;
	}
	public Integer getReplyCount(){
		return replyCount;
	}
	public void setReplyCount(Integer replyCount){
		this.replyCount = replyCount;
	}
	public Timestamp getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Timestamp createTime){
		this.createTime = createTime;
	}
	public Integer getCurrentPage(){
		return currentPage;
	}
	public void setCurrentPage(Integer currentPage){
		this.currentPage = currentPage;
	}
	public Integer getPageSize(){
		return pageSize;
	}
	public void setPageSize(Integer pageSize){
		this.pageSize = pageSize;
	}
}
